package spring.captcha.demo.model;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties(prefix = "captcha")
@Configuration
@Data
public class Captcha {
    private Integer height;
    private Integer width;
    private Session session;

    @Data
    public static class Session{
        private String key;
        private String date;
    }


//    public int getHeight() {
//        return this.height;
//    }
//
//    public int getWidth(){
//        return this.width;
//    }
}







